Ext.define('EUF.model.SubmitRequestMdl', {
    extend: 'Ext.data.Model',
    fields: [
	
        { name: 'priority', type: 'string' },
        { name: 'request', type: 'string' },
		{name: 'notes', type: 'string'},
		{name: 'name', type: 'string'},
		{name: 'lastname', type: 'string'},
		{name: 'email', type: 'string'},
		{name: 'location', type: 'string'},
		{name: 'roomnumber', type: 'string'},
		{name: 'building', type: 'string'},
		{name: 'companyname', type: 'string'},
		{name: 'department', type: 'string'},
		{name: 'job', type: 'string'},
		{name: 'position', type: 'string'},
		{name: 'personnelno', type: 'string'},
		{name: 'employeetype', type: 'string'},
		{name: 'costcenter', type: 'string'},
		{name: 'accountnumber', type: 'string'},
		{name: 'language', type: 'string'},
		{name: 'dateformat', type: 'string'},
		{name: 'numberformat', type: 'string'},
		{name: 'snc', type: 'string'},
		{name: 'sncallowed', type: 'string'},
			
    ]
	
	,
	proxy: {
   type: 'ajax',
   
    api:
   {
    create : '/save'             
   },
   writer: {
    type: 'json',
   // root: 'data'
   }
   },
	/*associations : [
	{
      model : 'AM.model.useraccessMdl',
      name : 'Useraccessmodel',
      type : 'hasMany'
     },
	 {
      model : 'AM.model.userdetailMdl',
      name : 'Userdetailmodel',
      type : 'hasMany'
     },
	 
	 ],
	 */
});